<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">数据类型:</label>
        <div class="col-xs-12 col-sm-4">
            {:build_select('row[datatype]', $mimetypeList, null, ['class'=>'form-control', 'required'=>''])}
        </div>
    </div>
    <div class="form-group">
        <label for="c-dateperiod" class="control-label col-xs-12 col-sm-2">值:</label>
        <div class="col-xs-12 col-sm-4">
            <input type="text" name="row[dateperiod]" id="c-dateperiod" class="form-control" />
        </div>
        <div>如时间段：08:00-09:00</div>
    </div>
    <div class="form-group">
        <label for="c-pn" class="control-label col-xs-12 col-sm-2">值:</label>
        <div class="col-xs-4 col-sm-4">
            <input type="text" name="row[pn]" id="c-pn" class="form-control" />
        </div>
    </div>
    <div class="form-group">
        <label for="c-pnumber" class="control-label col-xs-12 col-sm-2">值3:</label>
        <div class="col-xs-12 col-sm-4">
            <input type="text" name="row[pnumber]" id="c-pnumber" class="form-control" />
        </div>
    </div>
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-4">
            <button type="submit" class="btn btn-success btn-embossed disabled">确定</button>
            <button type="reset" class="btn btn-default btn-embossed">重置</button>
        </div>
    </div>
</form>
